package com.lxh.baselibray.util;

import android.content.Context;
import android.widget.Toast;

import com.lxh.baselibray.BaseApplication;

public class ToastUtils {
    public static void showLongToast(Context context, CharSequence s) {
        Toast.makeText(context.getApplicationContext(), s, Toast.LENGTH_LONG).show();
    }

    public static void showLongToast(CharSequence s) {
        Toast.makeText(BaseApplication.getApplication(), s, Toast.LENGTH_LONG).show();
    }
}
